package com.hzdp.jvm;

public class ThreadLocalDemo {

	public static void main(String[] args) {
		ThreadLocal<Object> t = new ThreadLocal<Object>();
		t.set(1222);
		System.out.println(t.get());

		ThreadLocal<Object> threadLocal = new ThreadLocal<Object>();
		threadLocal.set(22);
		System.out.println(threadLocal.get());
	}
}
